package gspushmq.model;

/**
 * @Description 消费方式枚举
 * @Author chengsj
 * @Date 2018/11/22 9:20
 * @Version 1.0
 * @company 上海朝阳永续信息技术有限公司
 * @copyright (c) 2015 SunTime Co'Ltd Inc. All rights reserved.
 **/
public enum  ConsumerWays {
    /**
     * 别名
     */
    ALIAS("ALIAS","别名推送方式"),
    /**
     * 账户
     *
    */
    ACCOUNT("ACCOUNT","账号推送方式"),
    /**
     * 标签
     *
    */
    TAG("TAG","Tag推送方式"),

    /**
     *
     * 所有
     */
    ALL("ALL","所有用户都推送");


    String way;
    String explain;

    ConsumerWays(String way, String explain) {
        this.way = way;
        this.explain = explain;
    }

    public String getWay() {
        return way;
    }

    public String getExplain() {
        return explain;
    }
}
